package com.weblog.weblog.admin.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;


/**
 * @author gc
 * @date 2023年12月15日 16:59
 */

@Getter
public class PublishArticleEvent extends ApplicationEvent {

    /**
     * 文章ID
     */
    private Long articleId;
    public PublishArticleEvent(Object source, Long articleId) {
        super(source);
        this.articleId = articleId;
    }
}
